<?php
if (isset($_GET['page']))
{
switch ($_GET['page'])
{
      case 'soins': $page='cree_produit.php';
          break;
      case 'news': $page='cree_new.php';
          break;          
      case 'newletter': $page='newletter.php';
          break;
      case 'calendrier': $page='calendrier.php';
          break;          
      case 'RDV': $page='RDV.php';
          break;    
      case 'verouiller_rdv': $page='verouiller_rdv.php';
          break;   
      case 'emplois_temps': $page='emplois_temps.php';
          break; 
      case 'client': $page='client.php';
          break;                                                   
      default : $page='emplois_temps.php';
          break;
}
}



else
$page='emplois_temps.php'; 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>admin
    </title>
    <link rel="stylesheet" type="text/css" href="../CSS/admin.css" /> 
    <link rel="shortcut icon" href="../CSS/images/IconeCoteDetente.PNG"/>   
<script type="text/javascript" src="script.js"></script> 
  </head>
  <body>
    <div id="wrapper">
      <div id="all">
        <div id="header"><h1>administration</h1>      
        </div>
      </div>
      <!-- header -->
      <div id="menuPrincipal">
<?php
include('menu.php');
        ?>
      </div>
      <div id="content">
<?php
include($page);
        ?>
      </div>
      <!-- content -->
      <div id="footer">
        <p id="droits">Février 2012 - les macarons
        </p> 
        <p id="validationxhtml">    
          <a href="http://validator.w3.org/check?uri=referer">
            <img       src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>  
        </p>
      </div>
    </div>
    <!-- all -->
    </div>
    <!-- wrapper -->
    <div id="outer">
    </div>
  </body>
</html>